package com.jk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 纪思齐
 * @version 1.0
 * @BelongsProject: 2203java
 * @BelongsPackage: com.jk.pojo
 * @description: TODO      //轮播图管理表
 * @date 2022/10/19 14:49
 */
@Data
@TableName(value = "carousel")
public class CarouselEntity {

    @TableId(value = "carousel_id",type = IdType.AUTO)
    private  Integer  carouselId;         //ID

    @TableField(value = "carousel_img")
    private  String   carouselImg;        //轮播图片

    @TableField(value = "carousel_img_name")
    private  String   carouselImgName;     //Banner图名称

    @TableField(value = "publisher")
    private  String   publisher;            //发布人

    @TableField(value = "publish_date")
    private  String   publishDate;            //发布时间

    @TableField(value = "state")
    private  Integer   state;            //状态

    @TableField(exist = false)
    private String  minDate;          //开始时间

    @TableField(exist = false)
    private String  maxDate;          //结束时间


}
